﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TeamProject.Policy
{
    public partial class PolInfo : Form
    {
        public PolInfo()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {

            Policy.PolicyAdd f_PolAdd = new Policy.PolicyAdd();
            f_PolAdd.MdiParent = Form1.ActiveForm;
            f_PolAdd.button1Text = "Добавяне";
            f_PolAdd.Show();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Policy.PolicyAdd f_PolEdit = new Policy.PolicyAdd();
            f_PolEdit.MdiParent = Form1.ActiveForm;
            f_PolEdit.button1Text = "Редактирай";
            f_PolEdit.Show();
        }
    }
}
